Skip to content

Conversation

@lorisleiva
Copy link
Member

@lorisleiva lorisleiva marked this pull request as ready for review October 10, 2024 12:01
Copy link
Contributor

@buffalojoec buffalojoec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!!

TProgramAddress extends Address = typeof SOLANA_CONFIG_PROGRAM_ADDRESS,
>(
input: StoreInput<TAccountConfigAccount>,
config?: { programAddress?: TProgramAddress }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting, so one could use the config program client against a different config program (configurable program ID)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes! This is a late addition from @mcintyre94 (See PR). For instance, this allows someone to use the SPL Token JS client for the Token 2022 program (if someone was taking bloody ages to release a Token 2022 client for example 👀).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dig it!!

"standard": "kinobi",
"version": "0.19.0"
"standard": "codama",
"version": "1.0.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Major version ?? 👀

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Major version indeed! It's showtime. 🌟

Comment on lines +98 to +101
"definedTypes": [
{
"kind": "definedTypeNode",
"name": "configKeys",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. I like how this is an IDL-defined type now, instead of in-lined.

@lorisleiva lorisleiva merged commit d9b3649 into main Oct 10, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants